from flask import Flask
from flask import request

app = Flask(__name__)

@app.route('/test')
def hello():
    return "<p>Hello, World!</p>"

@app.post("/user")
def getUserInfo():
    username = request.form['username']
    password = request.form['password']
    return {
        'username': username,
        'password': password
    }
